home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_10_03
/
cmenu.exe
/
MAKEFILE.DOS
< prev
next >
Wrap
Text File
|
1992-02-01
|
2KB
|
55 lines
#
# Make file for CMENU Menu compiler system (DOS version)
# Developed under Borland C++, but written portably
#
#############################################################################
# Primary configuration section
#############################################################################
CC = bcc # command-line compiler name
# uncomment only 1 in each of following 3 pairs:
#DEBUG = -v # enable embedded Turbo Debugger info
DEBUG = # disable debugging
#BCCOPTS =
BCCOPTS = -w-pia -A -O1 -H # Borland-specific stuff
#NEEDSTR = -DNEEDSTR # compile own strstr() definition
NEEDSTR = # use library version of strstr()
#HEAPSIZ = -DHEAPSIZ=20000 # Set Near Heap size to conserve DOS memory
HEAPSIZ =
WILDLIB = wildargs.obj # links in wildcard expansion module
CULIBS = tscurses.lib # curses library
#############################################################################
# End of primary configuration section
#############################################################################
COPTS = $(BCCOPTS) -DDOS=1 $(DEBUG) $(NEEDSTR) $(HEAPSIZ)
CFILES = cmenu1.obj cmenu2.obj cmenu3.obj
RFILES = rmenu1.obj rmenu2.obj rmenu3.obj rmenu4.obj
all: cmenu.exe rmenu.exe dmenu.exe
.c.obj: # For non-Borland MAKE, you may need to
$(CC) -c $(COPTS) {$< } # substitute "$*.c" for "{$< }"
cmenu.exe: $(CFILES)
$(CC) $(DEBUG) -ecmenu $(CFILES) $(WILDLIB)
rmenu.exe: $(RFILES)
$(CC) $(DEBUG) -ermenu $(RFILES) $(CULIBS)
dmenu.exe: dmenu.c cmenu.h
$(CC) $(COPTS) -edmenu dmenu.c
$(CFILES): ccmenu.h cmenu.h makefile
$(RFILES): rcmenu.h cmenu.h makefile